package cn.tedu.ivos.user.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserLoginParam {
    @Schema(description = "用户名",required = true)
    private String username;//用户名
    @Schema(description = "密码",required = true)
    @NotBlank(message = "密码不能为空！")
    @Size(min = 6,max = 10,message = "密码长度必须在6-10之间！")
    private String password;//密码
}
